home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000065_fdc@watsun.cc.columbia.edu_Tue Oct 23 09:28:40 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  5KB  |  91 lines

  1. Article: 12879 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc,comp.unix.aix
  5. Subject: Re: Kermit droping back to a login
  6. Date: 23 Oct 2001 13:29:08 GMT
  7. Organization: Columbia University
  8. Lines: 74
  9. Message-ID: <9r3rb4$c7t$1@newsmaster.cc.columbia.edu>
  10. References: <d86c5ce1.0110221123.53a7102b@posting.google.com> <9r1sv1$rdc$1@newsmaster.cc.columbia.edu> <d86c5ce1.0110230446.686fdc5@posting.google.com>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1003843748 12541 128.59.39.2 (23 Oct 2001 13:29:08 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 23 Oct 2001 13:29:08 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12879 comp.unix.aix:224729
  16.  
  17. In article <d86c5ce1.0110230446.686fdc5@posting.google.com>,
  18. Alan Rice <arice@benchmark-systems.com> wrote:
  19. : fdc@watsun.cc.columbia.edu (Frank da Cruz)
  20. : wrote in message news:<9r1sv1$rdc$1@newsmaster.cc.columbia.edu>...
  21. : > In article <d86c5ce1.0110221123.53a7102b@posting.google.com>,
  22. : > Alan Rice <arice@benchmark-systems.com> wrote:
  23. : > > ...
  24. : > > When You dail into said box and put kermit into server mode. Every
  25. : > > thing works find. The moment you issue a finish to take it out of
  26. : > > server mode it kicks out to a login prompt.
  27. : > > ...
  28. : > > Both version kick out to a login prompt.
  29. : > >
  30. : > > What am I missing?
  31. : > >
  32. : > How are you starting it?  If it's wrapped in a script that contains an
  33. : > exit command, that might do it, depending on the shell.  If you made
  34. : > Kermit itself the user's login shell, that would do it too.  It's gotta
  35. : > be something like that.
  36. : I wish it was that simple. I did all the steps manually. I loginto the
  37. : box, fire up kermit, send it into server mode, escape back, send and
  38. : get till the cows come home, issue the FINISH command and do a
  39. : Connect. When I get back to the box it's sitting at a lobin prompt.
  40. How are you dialing into AIX?  Direct to a serial port or through a
  41. terminal server?  The AIX Telnet server (which you might be using if you
  42. came in through a terminal server) has some quirks, described in Section
  43. 3.1 of:
  44.  
  45.   ftp://kermit.columbia.edu/kermit/test/text/ckubwr.txt
  46.  
  47. but the symptom you describe isn't one of them.  I can Telnet into AIX,
  48. start Kermit in server mode, and then FINISH, re-enter server mode,
  49. FINISH again, all I want to without a hiccup.
  50.  
  51. If you are dialing directly into an AIX serial port, that's a different
  52. story, but it's also a scenario I can't duplicate for testing.  The most
  53. likely suspect is Kermit's calls to the /dev/tty driver.  When Kermit
  54. starts, it gets and saves your terminal modes, and then puts the terminal
  55. into "CBREAK" mode so it can read a character at a time from your keyboard.
  56. When it exits, it restores the original terminal modes.  So the first
  57. question is: can you start Kermit and then immediately EXIT from it without
  58. getting logged out?
  59.  
  60. Next, when Kermit enters either connect (terminal) state or protocol (file
  61. transfer or server) state, it changes terminal modes again to allow maximum
  62. transparency.  When it returns to command mode, it restores CBREAK mode.
  63. So the next question is: can you give Kermit a SEND or RECEIVE command
  64. without getting logged out after the file transfer is finished?
  65.  
  66. If you can, but you still are logged out after sending FINISH, I'd be mighty
  67. puzzled, since the same thing happens on the server end of FINISH as happens
  68. when C-Kermit completes a SEND or RECEIVE command.  In fact, I'm mighty
  69. puzzled anyway, because if AIX C-Kermit had such a fundamental problem,
  70. there would be angry mobs in the street below.
  71.  
  72. I'm copying this reply to the AIX newsgroup in hopes that someone there can
  73. comment on this scenario: dialing directly into an AIX serial port and
  74. transferring files with Kermit.  In the past, when serial-port related
  75. problems have come up with AIX, it seems to have made a big difference which
  76. kind of serial port it is -- a built-in one, a port on the 128-port
  77. multiplexer, etc.  AIX patch level also tends to be germane.
  78.  
  79. - Frank
  80.  
  81. P.S. AIX people: C-Kermit 8.0 is in its final stages of prerelease testing:
  82.  
  83.   http://www.columbia.edu/kermit/ck80.html
  84.  
  85. I haven't had the range of AIX versions to build and test it on that I
  86. had in the past, so I'd appreciate it if anybody who has any AIX release
  87. other than 3.2.5, 4.3.2, and 4.3.3 would please build it, send in a binary,
  88. and test it to whatever degree they can.
  89.